/************************************************************
 Copyright (C), 2017, Leon, All Rights Reserved.
FileName: get_if_addr.c
Description: get interface address
Author: Leon
Version: 1.0
Date: 
Function:

History:
<author>    <time>  <version>   <description>
Leon
 ************************************************************/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#define FILE_SCAN_24G "/tmp/.scan_result_24g.txt"
#define FILE_SCAN_5G "/tmp/.scan_result_5g.txt"
#define SCAN_INIT_24G "iwpriv ra0 set SiteSurvey=1"
#define SCAN_INIT_5G "iwpriv rai0 set SiteSurvey=1"
#define SCAN_RUN_24G "iwpriv ra0 get_site_survey > "FILE_SCAN_24G
#define SCAN_RUN_5G "iwpriv rai0 get_site_survey > "FILE_SCAN_5G


int main(int argc, char *argv[])
{
	printf("dbg---> SCAN_RUN_24G = [%s]\n", SCAN_RUN_24G);
	printf("dbg---> SCAN_RUN_5G = [%s]\n", SCAN_RUN_5G);
}
